<?php /* Smarty version Smarty-3.0.8, created on 2015-10-15 10:44:45
         compiled from "/var/www/html/magroup/tpl/main_index.html" */ ?>
<?php /*%%SmartyHeaderCode:660261981561f131dd78988-08340460%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '1b316147768e42e289cf3550f5d7163c2a7a3351' => 
    array (
      0 => '/var/www/html/magroup/tpl/main_index.html',
      1 => 1444876874,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '660261981561f131dd78988-08340460',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php $_template = new Smarty_Internal_Template("tpl/header.html", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate(); $_template->rendered_content = null;?><?php unset($_template);?>

	<div style="width:450px;float:left;">
		<div id="chinaz" style="margin:0 auto;">
			<div class="banner-btn">
				<a href="javascript:;" class="prevBtn" rel="nofollow"><i></i></a>
				<a href="javascript:;" class="nextBtn" rel="nofollow"><i></i></a>
			</div>
			<ul class="banner-img" style="">
				
				<?php  $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
 $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('url1')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value){
 $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['item']->key;
?>
					<li>
						<img src="<?php echo $_smarty_tpl->tpl_vars['item']->value['img_dir'];?>
" alt="<?php echo $_smarty_tpl->tpl_vars['item']->value['description'];?>
">
						<a href="<?php echo $_smarty_tpl->tpl_vars['item']->value['content'];?>
"><div style="background:#eee;padding-left:5px;"><p><?php echo $_smarty_tpl->tpl_vars['item']->value['title'];?>
</p></div></a><span></span>
					</li>
					</li>
				<?php }} ?>
			</ul>
			<ul class="banner-circle">

				<?php  $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
 $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('url1')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value){
 $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['item']->key;
?>
					<?php if ($_smarty_tpl->tpl_vars['key']->value==0){?>
					<li class="selected">
					<?php }else{ ?>
					<li>
					<?php }?>
						<a href="javascript:;" rel="nofollow">
						<img src="<?php echo $_smarty_tpl->tpl_vars['item']->value['img_dir'];?>
"></a>
					</li>
				<?php }} ?>

				
			</ul>
		</div>
	</div>

	<div style="float:left;margin-left:-450px;margin-top:320px;width:450px;">
		<hr />
		<h3>友情链接:</h3>
		<?php  $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
 $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('url2')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value){
 $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['item']->key;
?>
		<div style="margin-top:20px;">
			<div style="float:left;margin-right:20px;">
				<div style="float:left;height:50px;">
					<img style="width:40px;" src="<?php echo $_smarty_tpl->tpl_vars['item']->value['img_dir'];?>
"></img>
				</div>
				<div style="float:left;margin-top:0px;margin-left:10px;width:300px;">
					<a href="<?php echo $_smarty_tpl->tpl_vars['item']->value['content'];?>
" target="_blank"><span style="font-size:12px;"><?php echo $_smarty_tpl->tpl_vars['item']->value['title'];?>
</span></a>
				</div>

			</div>
		</div>
		<?php }} ?>
	</div>





<div style="width:450px;float:right;">
	<div class="intro_header" >通知公告</div>
	<div id="article_list" style="margin-bottom:35px;">

		<?php  $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
 $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('article1')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value){
 $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['item']->key;
?>
			<div class="article_li" style="<?php if ($_smarty_tpl->tpl_vars['key']->value==0){?>border-top:0;<?php }?>">
				
				<a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>'notice','a'=>'detail','id'=>$_smarty_tpl->tpl_vars['item']->value['id']),$_smarty_tpl);?>
"  style="<?php if ($_smarty_tpl->tpl_vars['key']->value==0){?>color:red;<?php }?>" ><?php echo $_smarty_tpl->tpl_vars['item']->value['title'];?>
</a>
				<span class="add_time"><?php echo $_smarty_tpl->tpl_vars['item']->value['add_time'];?>
</span>
			</div>
		<?php }} ?>

	</div>	

	<div class="intro_header" >最新动态</div>
	<div id="article_list" style="margin-bottom:35px;">

		<?php  $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
 $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('article2')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value){
 $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['item']->key;
?>
			<div class="article_li" style="<?php if ($_smarty_tpl->tpl_vars['key']->value==0){?>border-top:0;<?php }?>">
				
				<a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>'news','a'=>'detail','id'=>$_smarty_tpl->tpl_vars['item']->value['id']),$_smarty_tpl);?>
"><?php echo $_smarty_tpl->tpl_vars['item']->value['title'];?>
</a>
				<span class="add_time"><?php echo $_smarty_tpl->tpl_vars['item']->value['add_time'];?>
</span>
			</div>
		<?php }} ?>

	</div>	
</div>

<div class="clear"></div>




<div class="clear"></div>
<?php $_template = new Smarty_Internal_Template("tpl/footer.html", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate(); $_template->rendered_content = null;?><?php unset($_template);?>
